package com.atguigu.serviceedu.client;

import com.atguigu.commonutils.R;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Auther 赵乾坤
 * @Date 2020-11-28 20:59
 */
@Component
public class VodFileDegradeFeignClient implements VodClient {
    @Override
    public R deleteVideo(String videoId) {
        System.out.println("超时了");
        return R.error().message("time out");

    }

    @Override
    public R deleteVideoList(List<String> videoIdList) {
        System.out.println("超时了");
        return R.error().message("time out");

    }
}
